package com.csu.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csu.mall.common.utils.PageUtils;
import com.csu.mall.ware.entity.PurchaseEntity;
import com.csu.mall.ware.vo.PurchaseDetailVo;
import com.csu.mall.ware.vo.PurchaseVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author zhenhuanLi
 * @email 743879362@qq.com
 * @date 2022-09-16 14:00:29
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage();

    void mergePurchaseDetail(PurchaseDetailVo purchaseDetailVo);

    void receivedPurchase(List<Long> purchaseIds);

    void donePurchase(PurchaseVo purchaseVo);
}

